package com.crm.service.impl;

import com.crm.base.BaseServiceImpl;
import com.crm.mapper.CustomerLossMapper;
import com.crm.domain.entity.CustomerLoss;
import com.crm.service.CustomerLossService;
import org.springframework.stereotype.Service;

/**
 * 客户流失业务层实现类
 */

@Service
public class CustomerLossServiceImpl extends BaseServiceImpl<CustomerLossMapper, CustomerLoss> implements CustomerLossService {

    @Override
    public Boolean loss(CustomerLoss c) {
        return baseMapper.loss(c) > 0;
    }
}
